Document directory
CSS font family
Chaotic CSS font family font naming
Setting font attributes is one of the most common purposes of a style sheet. However, despite the importance of font
Effect URL:Http://www.keleyi.com/keleyi/phtml/ch_font_family.htm
Div Style = "Font-family: kaiti_gb2312; font-size: 36px ;" > Ke leyi keleyi. com kaiti_gb2312 _ gb2312 Div > Div Style = "Font-family: fangsong_gb2312; font
Do the project encounter a strange problem, the same code, in FF and IE7 above the page display normal, but IE6 no matter how to change all do not work, originally thought is IE6 some floating bug caused, the result got a long time also not, later inadvertently put the original set font-family: "Blackbody" Attributes are removed, everything is back to normal ...To search the Internet, there are really a lot
How the mobile side defines the font font-familyChinese font Use system default, English with Helvetica/* Code to define the font for the mobile side */Body{font-family:helvetica;}Refer to "Thinking of using fonts on the mobile side"Mobile
Order:
Font-size Line-height font-family
{ font-size: 12px} { font:}
Where Line-height is a Text property , but it can also be used as a complement to the Font-size value , separated by a slash (/) . 200%/1.2
Arial simsun blackbody simhei Microsoft Black Microsoft Yahei Microsoft is bold Microsoft Jhenghei new song body Nsimsun new fine Ming body PMingLiU Fine ming body mingliu standard italic dfkai-sb imitation fangsong italic kaiti imitation _gb2312 fangsong_gb2312 Italic _gb2312 kaiti_gb2312Arial: Simsuncss Chinese Font (font-family
Song Body
SimSun
Blackbody
Simhei
Microsoft Ya-Black
Microsoft Yahei
Microsoft is in black
Microsoft Jhenghei
New song Body
Nsimsun
New Fine Ming Body
PMingLiU
Fine Ming Body
MingLiU
Mark in italics
Dfkai-sb
Imitation
Fangsong
Italics
Kaiti
Imitation _gb2312
fangsong_gb2312
Italics _gb2312
Song Body SimSunBlackbody SimheiMicrosoft Black Microsoft YaheiMicrosoft is in bold Microsoft JhengheiNew song Body NsimsunNew Fine Ming body PMingLiUFine Ming Body MingLiUStandard Italic DFKAI-SBImitation FangsongItalic KaitiImitation _gb2312fangsong_gb2312Italic _gb2312kaiti_gb2312Arial: The English name of Chinese font (font-family) in SimsuncssSome of the Mac
HTML, CSS, font-family: English name of the Chinese font (),
SimSun
Simhei
SimHei
Microsoft YaHei
Microsoft is in bold
Microsoft JhengHei
Xin
NSimSun
New body
PMingLiU
Fine body
MingLiU
Standard entity
DFKai-SB
Imitation Song
FangSong
Body
Kai
How the mobile side defines the font font-familyChinese font Use system default, English with Helvetica/**/body{font-family:Helvetica;} Refer to "Thinking of using fonts on the mobile side"Mobile font Unit font-size Select px or
Speaking of CSS in the font-family, I believe a lot of friends often use, but do not know when you encounter the reference to Chinese fonts when you will write?Recent special attention has been paid to discovering the most commonly used basic three types:
1, direct Chinese;
2, English form;
3, Unicode code;
The first two forms are well understood, what do Unicode codes mean? Here's a b
Generally set the font, individuals like to use Chinese, such as: font-family: "Microsoft ya Black"; but occasionally there will be a problem with the font display garbled after setting Workaround "1": Look at the first line of your CSS file there are: @charset "utf-8"; if there is, save as once, the saved file enco
Speaking of CSS in the font-family, I believe a lot of friends often use, but do not know when you encounter the reference to Chinese fonts when you will write?Recent special attention has been paid to discovering the most commonly used basic three types:
1, direct Chinese;
2, English form;
3, Unicode code;
The first two forms are well understood, what do Unicode codes mean? Here's a b
Song Body
SimSun
Blackbody
Simhei
Microsoft Ya-Black
Microsoft Yahei
Microsoft is in black
Microsoft Jhenghei
New song Body
Nsimsun
New Fine Ming Body
PMingLiU
Fine Ming Body
MingLiU
Mark in italics
Dfkai-sb
Imitation
Fangsong
Italics
Kaiti
Imitation _gb2312
fangsong_gb2312
Italic _gb2312
CSS Font Properties Define text (such as italic) and deform (such as small capital letters)Code collated from w3school:http://www.w3school.com.cn:CSS: Font styles (font family, size, bold, style, warp, etc.)
Document directory
Windows
Mac OS
CSSWhen the font-family attribute is used to reference a Chinese font, three methods are often used to define the font:
Write Chinese directly
English alias
Unicode code
When a Chinese name is used directly, the system or encoding page that does not support Chinese ch
WindowsChinese name English nameSong Body * SimSunBlackbody * SimheiMicrosoft Jacob Black * Microsoft YaheiMicrosoft is in bold Microsoft JhengheiNew song Body NsimsunNew Fine Ming body PMingLiUFine Ming Body MingLiUStandard Italic DFKAI-SBImitation FangsongItalic KaitiImitation _gb2312 fangsong_gb2312Italic _gb2312 kaiti_gb2312Mac OSChinese name English nameChinese fine Black * Stheiti light [Stxihei]Chinese Blackbody * StheitiChinese italic StkaitiXXFarEastFont-Stsong of Chinese and song bodie
CSS Chinese font font-family list is mainly the system brought some, installed Office will be born some of the windows, interested friends can understand
Some of Windows:Blackbody: SimheiXXFarEastFont-SimSunNeo-Arial: NsimsunImitation: FangsongItalics: KaitiImitation _gb2312:fangsong_gb2312Italics _gb2312:kaiti_gb2312Microsoft James Bold: Microsoft YaheiSome of t
Go to Folder--/users/user/library/developer/xcode/userdata/fontandcolorthemes/(user changed to his username)-----If the Xcode you just installed may not have a Fontandcolorthemes folder, create your ownWhen you open a folder, such asLocate the font theme that you want to modify, and import the changes in Xcode, such asAfter opening, modify the corresponding fontBack up a copy, I modified the good font, (mod
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.